home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobysnackmachine.swf / scripts / __Packages / mx / transitions / easing / Elastic.as
Encoding:
Text File  |  2007-10-01  |  4.4 KB  |  162 lines

  1. var ┬º\x01┬º = 413;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 413)
  5.    {
  6.       set("\x01",eval("\x01") - 365);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 48)
  10.    {
  11.       set("\x01",eval("\x01") + 307);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") - 112);
  15.       }
  16.    }
  17.    else if(eval("\x01") == 193)
  18.    {
  19.       set("\x01",eval("\x01") + 235);
  20.    }
  21.    else
  22.    {
  23.       if(eval("\x01") == 950)
  24.       {
  25.          set("\x01",eval("\x01") - 705);
  26.          if(!_global.mx)
  27.          {
  28.             _global.mx = new Object();
  29.          }
  30.          ┬º┬ºpop();
  31.          if(!_global.mx.transitions)
  32.          {
  33.             _global.mx.transitions = new Object();
  34.          }
  35.          ┬º┬ºpop();
  36.          if(!_global.mx.transitions.easing)
  37.          {
  38.             _global.mx.transitions.easing = new Object();
  39.          }
  40.          ┬º┬ºpop();
  41.          if(!_global.mx.transitions.easing.Elastic)
  42.          {
  43.             var _loc2_ = mx.transitions.easing.Elastic = function()
  44.             {
  45.             }.prototype;
  46.             mx.transitions.easing.Elastic = function()
  47.             {
  48.             }.easeIn = function(t, b, c, d, a, p)
  49.             {
  50.                if(t == 0)
  51.                {
  52.                   return b;
  53.                }
  54.                if((t /= d) == 1)
  55.                {
  56.                   return b + c;
  57.                }
  58.                if(!p)
  59.                {
  60.                   p = d * 0.3;
  61.                }
  62.                if(!a || a < Math.abs(c))
  63.                {
  64.                   a = c;
  65.                   var _loc7_ = p / 4;
  66.                }
  67.                else
  68.                {
  69.                   _loc7_ = p / 6.283185307179586 * Math.asin(c / a);
  70.                }
  71.                return - a * Math.pow(2,10 * (t -= 1)) * Math.sin((t * d - _loc7_) * 6.283185307179586 / p) + b;
  72.             };
  73.             mx.transitions.easing.Elastic = function()
  74.             {
  75.             }.easeOut = function(t, b, c, d, a, p)
  76.             {
  77.                if(t == 0)
  78.                {
  79.                   return b;
  80.                }
  81.                if((t /= d) == 1)
  82.                {
  83.                   return b + c;
  84.                }
  85.                if(!p)
  86.                {
  87.                   p = d * 0.3;
  88.                }
  89.                if(!a || a < Math.abs(c))
  90.                {
  91.                   a = c;
  92.                   var _loc7_ = p / 4;
  93.                }
  94.                else
  95.                {
  96.                   _loc7_ = p / 6.283185307179586 * Math.asin(c / a);
  97.                }
  98.                return a * Math.pow(2,-10 * t) * Math.sin((t * d - _loc7_) * 6.283185307179586 / p) + c + b;
  99.             };
  100.             mx.transitions.easing.Elastic = function()
  101.             {
  102.             }.easeInOut = function(t, b, c, d, a, p)
  103.             {
  104.                if(t == 0)
  105.                {
  106.                   return b;
  107.                }
  108.                if((t /= d / 2) == 2)
  109.                {
  110.                   return b + c;
  111.                }
  112.                if(!p)
  113.                {
  114.                   p = d * 0.44999999999999996;
  115.                }
  116.                if(!a || a < Math.abs(c))
  117.                {
  118.                   a = c;
  119.                   var _loc7_ = p / 4;
  120.                }
  121.                else
  122.                {
  123.                   _loc7_ = p / 6.283185307179586 * Math.asin(c / a);
  124.                }
  125.                if(t < 1)
  126.                {
  127.                   return -0.5 * (a * Math.pow(2,10 * (t -= 1)) * Math.sin((t * d - _loc7_) * 6.283185307179586 / p)) + b;
  128.                }
  129.                return a * Math.pow(2,-10 * (t -= 1)) * Math.sin((t * d - _loc7_) * 6.283185307179586 / p) * 0.5 + c + b;
  130.             };
  131.             mx.transitions.easing.Elastic = function()
  132.             {
  133.             }.version = "1.1.0.52";
  134.             ┬º┬ºpush(ASSetPropFlags(mx.transitions.easing.Elastic.prototype,null,1));
  135.          }
  136.          ┬º┬ºpop();
  137.          break;
  138.       }
  139.       if(eval("\x01") == 355)
  140.       {
  141.          set("\x01",eval("\x01") - 112);
  142.          break;
  143.       }
  144.       if(eval("\x01") == 428)
  145.       {
  146.          set("\x01",eval("\x01") + 522);
  147.       }
  148.       else
  149.       {
  150.          if(eval("\x01") != 243)
  151.          {
  152.             if(eval("\x01") == 245)
  153.             {
  154.                set("\x01",eval("\x01") - 245);
  155.             }
  156.             break;
  157.          }
  158.          set("\x01",eval("\x01") + 185);
  159.       }
  160.    }
  161. }
  162.